var levels = new Array();
levels = 
	[
		{ //Level Maxence
			Matrix : [
				[0,0,0,1,1,1,1],
				[3,0,0,1,1,1,1],
				[0,0,1,1,1,1,1],
				[1,0,0,2,0,2,0],
				[1,0,1,1,0,1,0],
				[1,0,1,1,3,0,0],
				[0,0,0,0,0,0,0],
				[0,0,0,0,0,0,0]],
			position_depart : {
				x : 4,
				y : 3
			}
		},
		{  //Level Gridar
			Matrix : [
				[0,0,0,0,0,1,1,1],
				[0,2,1,1,2,0,1,1],
				[0,0,1,0,0,2,1,1],
				[1,3,0,0,1,0,0,0],
				[1,1,0,1,1,0,1,0],
				[1,3,0,0,0,0,0,3]],
			position_depart : {
				x : 1,
				y : 0
			}
		},
		//Level Test
		{
			Matrix : [
				[0,0,2,3]],
		
			position_depart : {
				x : 0,
				y : 0
			}
		},
		{//Level Maxence
			Matrix : [ 
				[0,0,0,1,1,1],
				[0,1,2,0,0,1],
				[0,1,0,1,0,1],
				[0,1,0,2,0,1],
				[0,1,0,1,0,1],
				[0,0,0,3,0,3]],
			position_depart : {
				x : 0,
				y : 0
			}
		},
		
		{ //Level Maxence remixé par Bity	
			Matrix : [
				[3,0,0,0,0,1,1],
				[1,0,1,1,0,1,1],
				[1,0,0,2,0,2,0],
				[1,0,1,1,0,1,0],
				[1,0,1,1,3,0,0],
				[1,0,0,0,0,1,1]],
			position_depart : {
				x : 4,
				y : 2
			}
		},
		//Level Maxence + Bity
		{		
			Matrix : [
				[1,1,0,0,1,1,1,1],
				[1,1,0,0,0,0,1,1],
				[1,1,0,1,0,0,1,1],
				[1,1,0,1,2,1,1,1],
				[0,0,0,0,3,1,0,0],
				[0,0,0,0,3,0,0,0],
				[1,0,1,1,0,1,1,0],
				[1,0,2,3,0,2,0,0],
				[1,0,0,1,1,1,1,0]],
			position_depart : {
				x : 1,
				y : 7
			}
		}
];


	























//valeurs: 0=vide ; 1=mur ; 2=caisse ; 3=objectif
		
		
	
